findElementsByName

abstract fun findElementsByName(name: String): List<Element>

Returns an immutable list of the Element objects found in the current search context by the given name. Returns an empty list if no elements were found.

Parameters

name

a string that represents the name attribute of the HTML element

Throws

if the given name is empty

when this instance is closed